Skip to content

APP-4230 - Add --skip-unassigned flag to version-create command#87

Open
danielreJfrog wants to merge 2 commits into
jfrog:mainfrom
danielreJfrog:feature/APP-4230-skip-unassigned-flag
Open

APP-4230 - Add --skip-unassigned flag to version-create command#87
danielreJfrog wants to merge 2 commits into
jfrog:mainfrom
danielreJfrog:feature/APP-4230-skip-unassigned-flag

Conversation

@danielreJfrog

Copy link
Copy Markdown

Summary

  • Adds the --skip-unassigned boolean flag to the version-create CLI command
  • When set, the version is automatically promoted to the first lifecycle stage if all source artifacts reside in repositories mapped to that stage; otherwise the version is left unassigned with a message explaining why
  • Adds the message key to the ordered output keys for version creation response

Test plan

  • Unit test: dedicated skip-unassigned flag test case added
  • Unit test: all flags test case updated to include --skip-unassigned

Made with Cursor

Co-authored-by: Cursor <cursoragent@cursor.com>
@github-actions

github-actions Bot commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@danielreJfrog danielreJfrog force-pushed the feature/APP-4230-skip-unassigned-flag branch from 931d57d to 6d86597 Compare June 11, 2026 11:49
@danielreJfrog danielreJfrog force-pushed the feature/APP-4230-skip-unassigned-flag branch from 6d86597 to 85862c3 Compare June 11, 2026 11:53
@danielreJfrog danielreJfrog force-pushed the feature/APP-4230-skip-unassigned-flag branch from 85862c3 to e095614 Compare June 11, 2026 11:54
@danielreJfrog danielreJfrog force-pushed the feature/APP-4230-skip-unassigned-flag branch from e095614 to b7bb980 Compare June 11, 2026 11:58
@danielreJfrog danielreJfrog force-pushed the feature/APP-4230-skip-unassigned-flag branch from b7bb980 to 4495de1 Compare June 11, 2026 12:22
@danielreJfrog

Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

Two subtests covering auto-promotion behavior:
- Success: source repo mapped to DEV -> version promoted to DEV
- Mismatch: source repo mapped only to PROD -> version stays unassigned
  with message explaining the repo_mismatch

Co-authored-by: Cursor <cursoragent@cursor.com>
@danielreJfrog danielreJfrog force-pushed the feature/APP-4230-skip-unassigned-flag branch from 4495de1 to 61e226f Compare June 11, 2026 12:27
@asafgabai asafgabai added the safe to test Approve running end-to-end tests on a pull request label Jun 11, 2026
@github-actions github-actions Bot removed the safe to test Approve running end-to-end tests on a pull request label Jun 11, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Test Results

55 tests  +3   52 ✅ +1   4m 54s ⏱️ - 2m 3s
 2 suites ±0    1 💤 ±0 
 1 files   ±0    2 ❌ +2 

For more details on these failures, see this check.

Results for commit 61e226f. ± Comparison against base commit 55a0ab5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants